package com.himore.api.web.model;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.himore.api.common.annotation.Excel;
import com.himore.api.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 吐槽信息对象 user_complaints
 * 
 * @author dongwang
 * @date 2020-12-29
 */
public class UserComplaints extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 吐槽记录id */
    private Long complaintsId;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /** 吐槽时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "吐槽时间")
    private Date complaintsTime;

    /** 吐槽信息 */
    @ApiModelProperty(value = "吐槽信息")
    private String complaints;

    public void setComplaintsId(Long complaintsId) {
        this.complaintsId = complaintsId;
    }

    public Long getComplaintsId() {
        return complaintsId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }
    public void setComplaintsTime(Date complaintsTime) {
        this.complaintsTime = complaintsTime;
    }

    public Date getComplaintsTime() {
        return complaintsTime;
    }
    public void setComplaints(String complaints) {
        this.complaints = complaints;
    }

    public String getComplaints() {
        return complaints;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("complaintsId", getComplaintsId())
            .append("userId", getUserId())
            .append("complaintsTime", getComplaintsTime())
            .append("complaints", getComplaints())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
